package com.usdt.system.dto.cp;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;

import lombok.Data;

@Data
@ContentRowHeight(15)//高度(自动换行后，隐藏多余数据)
//自动换行 垂直居中
@ContentStyle(wrapped = BooleanEnum.TRUE,verticalAlignment = VerticalAlignmentEnum.CENTER)
public class ActivityPointsExcelDTO {

    @ExcelProperty(index = 0, value = "客户")
    @ColumnWidth(20)
    private String customerName;

    @ExcelProperty(index = 1, value = "参加活动场次")
    private Integer num;
    
    @ExcelProperty(index = 2, value = "积分总计")
    private Integer points;
}
